/*
 * @Author: LIFM0623 1944099171@qq.com
 * @Date: 2024-02-24 16:13:45
 * @LastEditors: LIFM0623 1944099171@qq.com
 * @LastEditTime: 2024-03-18 16:27:02
 * @FilePath: \scene_back_nest\src\group\group.module.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { Module } from '@nestjs/common';
import { GroupService } from './group.service';
import { GroupController } from './group.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Group } from './entities/group.entity';
import { usertogroup } from 'src/group/entities/usertogroup.entity';
import { FileListModule } from 'src/file-list/file-list.module';
import { GroupToFlielist } from 'src/file-list/entities/grouptofilelist.entity';
import { User } from 'src/user/entities/user.entity';
import { FileList } from 'src/file-list/entities/file-list.entity';
import { SceneListModule } from 'src/scene-list/scene-list.module';
import { GroupToScence } from 'src/scene-list/entities/grouptoscene.entity';
import { SceneList } from 'src/scene-list/entities/scene-list.entity';
import { FolderModule } from 'src/folder/folder.module';
import { Folder } from 'src/folder/entities/folder.entity';
import { GroupToFolderlist } from 'src/folder/entities/grouptofolder.entity';
import { GroupToScript } from 'src/script-list/entities/grouptoscript.entity';
import { ScriptListModule } from 'src/script-list/script-list.module';
import { GroupToShare } from 'src/share/entities/grouptoshare.entity';
import { ShareModule } from 'src/share/share.module';

@Module({
  imports: [
    TypeOrmModule.forFeature([Group]),
    TypeOrmModule.forFeature([FileList]),
    TypeOrmModule.forFeature([usertogroup]),
    FileListModule,
    TypeOrmModule.forFeature([GroupToFlielist]),
    TypeOrmModule.forFeature([User]),
    SceneListModule,
    TypeOrmModule.forFeature([SceneList]),
    TypeOrmModule.forFeature([GroupToScence]),
    FolderModule,
    TypeOrmModule.forFeature([GroupToFolderlist]),
    TypeOrmModule.forFeature([GroupToScript]),
    ScriptListModule,
    TypeOrmModule.forFeature([GroupToShare]),
    ShareModule,
  ],
  controllers: [GroupController],
  providers: [GroupService],
})
export class GroupModule {}
